(__morecore): Fix the declaration to comply with the definition.
authorSam Steingold <sds@gnu.org>
Wed, 20 Jun 2007 12:18:47 +0000 (12:18 +0000)
committerSam Steingold <sds@gnu.org>
Wed, 20 Jun 2007 12:18:47 +0000 (12:18 +0000)
src/ChangeLog
src/gmalloc.c

index 12ff8d9187306b7412742a5b64111d65b778088e..b87cdaeb32cf5abcdd47661396720568d245a2b2 100644 (file)
@@ -1,3 +1,8 @@
+2007-06-18  Sam Steingold  <sds@gnu.org>
+
+       * gmalloc.c (__morecore): Fix the declaration to comply with the
+       definition.
+
 2007-06-20  Juanma Barranquero  <lekktu@gmail.com>
 
        * w32term.c (w32_delete_display): Remove leftover declaration.
index 50535d4940cb3d9177edf00a1f33c4c373dac8b4..76845828d75886b5ab808f2619cc877c8e417f20 100644 (file)
@@ -373,7 +373,7 @@ Fifth Floor, Boston, MA 02110-1301, USA.
 extern __ptr_t bss_sbrk PP ((ptrdiff_t __size));
 extern int bss_sbrk_did_unexec;
 #endif
-__ptr_t (*__morecore) PP ((ptrdiff_t __size)) = __default_morecore;
+__ptr_t (*__morecore) PP ((__malloc_ptrdiff_t __size)) = __default_morecore;
 
 /* Debugging hook for `malloc'.  */
 __ptr_t (*__malloc_hook) PP ((__malloc_size_t __size));